<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<include file="Common:cssjs" />
</head>
<body>
<div class="subnav">
  <div class="content-menu ib-a blue line-x"> <a href='{:U("Menu/index")}' ><em>菜单管理</em></a><span>|</span><a href='javascript:;' class="on"><em>添加菜单</em></a> </div>
</div>
<style type="text/css">
	html{_overflow-y:scroll}
</style>
<div class="common-form">
  <form method="post" id="myform" action="{:U('Menu/insert')}">
    <table cellpadding="0" cellspacing="0" class="table_form" width="100%">
      <tbody>
        <tr>
          <td width="140">上级:</td>
          <td><select name="parentid" >
              <option value="0">作为一级菜单</option>
              <volist name="Menucache" id="vo"> <option value='{$vo['id']}' <eq name="Think.get.parentid" value="$vo['id']">selected</eq>> {$vo['name']}
                </option>
                <volist name="vo['lower']" id="lo"> <option value='{$lo['id']}' <eq name="Think.get.parentid" value="$lo['id']">selected</eq>>&nbsp;├ {$lo['name']}
                  </option>
                  <volist name="lo['lower']" id="loo"> <option value='{$loo['id']}'  <eq name="Think.get.parentid" value="$loo['id']">selected</eq>disabled="disabled">&nbsp;│&nbsp;├ {$loo['name']}
                    </option>
                  </volist>
                </volist>
              </volist>
            </select></td>
        </tr>
        <tr>
          <td>名称:</td>
          <td><input type="text" class="input-text" name="name" value=""></td>
        </tr>
        <tr>
          <td>项目:</td>
          <td><input type="text" class="input-text" name="app" value="Admin">
            </td>
        </tr>
        <tr>
          <td>模块:</td>
          <td><input type="text" class="input-text" name="model" value="">
            </td>
        </tr>
        <tr>
          <td>方法:</td>
          <td><input type="text" class="input-text" name="action" value="">
            </td>
        </tr>
        <tr>
          <td>参数:</td>
          <td><input type="text" class="input-text" name="data" value="">
            例:groupid=1&amp;type=2</td>
        </tr>
        <tr>
          <td>备注:</td>
          <td><textarea name="remark" rows="5" cols="57"></textarea></td>
        </tr>
        <tr>
          <td>状态:</td>
          <td><select name="status">
              <option value="1">显示</option>
              <option value="0">不显示</option>
            </select></td>
        </tr>
        <tr>
          <td>类型:</td>
          <td><select name="type">
              <option value="1">后台管理</option>
            </select></td>
        </tr>
      </tbody>
    </table>
    <div class="btn">
      <input type="submit" value="提交" class="button">
      <input type="reset" value="重置" class="button">
    </div>
  </form>
</div>
</body>
</html>